<%@ page language="java" contentType="text/html; charset=UTF-8" pageEncoding="UTF-8"%>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core"%>
<%@ taglib prefix="fmt" uri="http://java.sun.com/jsp/jstl/fmt"%>
<!DOCTYPE html>
<html lang="zh-CN">
  
  <head>
    
    <%@ include file="/WEB-INF/include/meta.jsp"%>
    <%@ include file="/WEB-INF/include/css.jsp"%>
    <title>反馈信箱</title>
  </head>
  <!-- end header -->
  <body>
    <div class="page-group">
      <div class="page page-current bg-light-gray">

        <nav class="bar bar-tab punch-card-bar">
          <c:set var="monthlyCourseware" value="${persist.monthlyCourseware(user.id)}"/>
          <a class="tab-item external" href="${ctx.host}/courses/${monthlyCourseware.id}/batches/${persist.batchCourseware(monthlyCourseware.id).id}/units">
            <span class="icon icon-today"></span>
            <span class="tab-label">今日</span>
          </a>
          <a class="tab-item external" href="${ctx.host}/courses">
            <span class="icon icon-lesson"></span>
            <span class="tab-label">课程</span>
          </a>
          <a class="tab-item external active" href="${ctx.host}/profile">
            <span class="icon icon-profile"></span>
            <span class="tab-label">我的</span>
          </a>
        </nav>

        <div class="content feedback-wrap">
          <div class="appoint-title text-center"><span style="font-size: .95rem;">反馈信箱</span></div>
          <form action="${ctx.host}/profile/feedbacks" method="POST">
            <div class="suggestion-wrap">
              <textarea class="suggestion" name="feedbacks" placeholder="请输入反馈意见"> 
              </textarea>
            </div>
            <a href="javascript: void(0);" data-shift-submit="true" class="button button-fill ft-button-yellow ft-market-btn feedback-btn">提交反馈</a>
          </form>
        </div>
        
      </div>
    </div>
    
    <%@ include file="/WEB-INF/include/script.jsp"%>
    <d:resource root="${ctx.resource}/build" type="script" src="js/page/profile/feedback-create.js" />
    <script type="text/javascript">
      require(['page/profile/feedback-create'], function(page) {
        page.init()
      })
    </script>
  </body>
</html>